﻿<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="CompanyOrderPay.aspx.cs"
    Inherits="NJL.Web.CompanyOrderPay" %>

<%@ Register Src="Controls/WUCHeader1.ascx" TagName="WUCHeader1" TagPrefix="uc1" %>
<%@ Register Src="Controls/WUCFooter1.ascx" TagName="WUCFooter1" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>在线支付</title>
    <meta content="C#" name="CODE_LANGUAGE">
    <meta content="JavaScript" name="vs_defaultClientScript">
    <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
    <link href="/Styles/base1.css" rel="stylesheet" type="text/css" />
    <link href="/Styles/manage.css" rel="stylesheet" type="text/css" />
    <script src="/Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('#<%=btnSubmit.ClientID %>').submit(function () {
                var rblOk = true;
                var rbl = document.getElementsByName("rblPayment");
                for (var i = 0; i < rbl.length; i++) {
                    if (rbl[i].checked == true) {
                        rblOk = false;
                        break;
                    }
                }
                if (rblOk) {
                    alert('请选择支付方式哦');
                    return false;
                }

            });

        });
    </script>
    <script type="text/javascript">
        function sumbitchinabank() {
            document.getElementById("E_FORM").submit();
        }
        function submitYeePay() {
            document.getElementById("yeePay").submit();
        }
    </script>
</head>
<body>
    <!--易宝支付-->
    <form method="post" action="/Payment/yeepay/Req.aspx" id="yeePay">
    <input type="hidden" name="p2_Order" id="p2_Order" value="<%=yeePayOrderID %>" />
    <input type="hidden" name="p3_Amt" id="p3_Amt" value="<%=yeePayAmount %>" />
    <input type="hidden" name="p6_Pcat" id="p6_Pcat" value="producttype" />
    <input type="hidden" name="p7_Pdesc" id="p7_Pdesc" value="productdesc" />
    <input type="hidden" name="pa_MP" id="pa_MP" value="userId" />
    <input type="hidden" name="p5_Pid" id="p5_Pid" value="订单号为:<%=yeePayOrderID %>" />
    <input type="hidden" name="p8_Url" id="p8_Url" value="<%=yeePayUrl %>" />
    <input type="hidden" name="pd_FrpId" id="pd_FrpId" value="pd_FrpId" />
    </form>
    <!--end易宝支付-->
    <!--网银在线-->
    <form id="E_FORM" action="https://pay3.chinabank.com.cn/PayGate" method="post" name="E_FORM">
    <input type="hidden" name="v_md5info" value="<%=v_md5info%>" size="100" />
    <input type="hidden" name="v_mid" value="<%=v_mid%>" />
    <input type="hidden" name="v_oid" value="<%=v_oid%>" />
    <input type="hidden" name="v_amount" value="<%=v_amount%>" />
    <input type="hidden" name="v_moneytype" value="<%=v_moneytype%>" />
    <input type="hidden" name="v_url" value="<%=v_url%>" />
    <!--以下几项项为网上支付完成后，随支付反馈信息一同传给信息接收页-->
    <input type="hidden" name="remark1" value="<%=remark1%>" />
    <input type="hidden" name="remark2" value="<%=remark2%>" />
    <!--以下几项只是用来记录客户信息，可以不用，不影响支付 -->
    <input type="hidden" name="v_rcvname" value="<%=v_rcvname%>" />
    <input type="hidden" name="v_rcvaddr" value="<%=v_rcvaddr%>" />
    <input type="hidden" name="v_rcvtel" value="<%=v_rcvtel%>" />
    <input type="hidden" name="v_rcvpost" value="<%=v_rcvpost%>" />
    <input type="hidden" name="v_rcvemail" value="<%=v_rcvemail%>" />
    <input type="hidden" name="v_rcvmobile" value="<%=v_rcvmobile%>" />
    <input type="hidden" name="v_ordername" value="<%=v_ordername%>" />
    <input type="hidden" name="v_orderaddr" value="<%=v_orderaddr%>" />
    <input type="hidden" name="v_ordertel" value="<%=v_ordertel%>" />
    <input type="hidden" name="v_orderpost" value="<%=v_orderpost%>" />
    <input type="hidden" name="v_orderemail" value="<%=v_orderemail%>" />
    <input type="hidden" name="v_ordermobile" value="<%=v_ordermobile%>" />
    </form>
    <!--网银在线-->
    <form id="form1" runat="server" target="_blank">
    <uc1:WUCHeader1 ID="WUCHeader11" runat="server" />
    <div class="cleanFlex managecont">
        <div class="m_top_10">
        </div>
        <!--订单流程-->
        <div class="orderMenu">
            <ul class="menuInfo04_03">
                <li class="menu_not" style="width: 250px;">
                    <h2>
                        1、搜索选择农家乐或度假山庄</h2>
                </li>
                <li class="menu_not" style="width: 251px;">
                    <h2>
                        2、填写订单信息</h2>
                </li>
                <li class=" menu_at" style="width: 251px;">
                    <h2>
                        3、选择支付方式支付</h2>
                </li>
                <li class="menu_sel" style="width: 251px;">
                    <h2>
                        4、预订成功</h2>
                </li>
            </ul>
        </div>
        <div class="reg" style="height: 300px;">
            <div class="orderMoney">
                应付金额:<span><%=string.Format("{0:0.00}",modelOrder.ORDER_TOTAL)%>元</span>
            </div>
            <div class="cont boxblue" style="width: 870px; margin: 0 auto;">
                选择支付方式
            </div>
            <div class="payment">
                <asp:RadioButtonList ID="rblPayment" runat="server" CellPadding="1" CellSpacing="3"
                    RepeatLayout="OrderedList">
                </asp:RadioButtonList>
            </div>
            <div class="cont boxblue" style="width: 870px; margin: 0 auto; display: none">
                进入支付宝---网上银行完成付款支付宝是国内领先的独立第三方支付平台，支持支付宝余额付款、网上银行付款、信用卡付款、支付宝卡通付款等多种支付方式。
            </div>
            <div class="centeralign cleanFlex m_top_20">
                <p class="btnnext01">
                    <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" CssClass="submit_next" />
                </p>
            </div>
        </div>
        <div class="m_top_10">
        </div>
    </div>
    <uc2:WUCFooter1 ID="WUCFooter11" runat="server" />
    </form>
</body>
</html>
